package com.lsu.decorate.homework;

/**
 * 判断机器人
 *
 * @Author wang suo
 * @Date 2020/10/26 0026 10:50
 * @Version 1.0
 */
public class Estimate extends AbstractSuperRobot {

    public Estimate(AbstractRobot robot) {
        super(robot);
    }

    @Override
    public void clean() {
        estimate();
        robot.clean();
    }

    private void estimate() {
        System.out.println("先判断: 请问主人需要清洁吗?");
    }
}
